package com.yyk.yiliao.bean;

import java.util.List;

/**
 * Created by Administrator on 2018/8/23 0023.
 */

public class StoreStoreinfo_Info {
    @Override
    public String toString() {
        return "StoreStoreinfo_Info{" +
                "code=" + code +
                ", msg='" + msg + '\'' +
                ", data=" + data +
                '}';
    }

    /**
     * code : 1
     * msg : 返回成功
     * data : {"id":35,"name":"山东大药房4","pic":"/upload/store/201808/1534212151_3059.png","address":"山东济南","star":10,"isself":0,"invoice":2,"type":1,"phone":"010-12345678","openhours":"12:00-14:00","description":"商店描述","imgs":[{"name":"图片描述","img":"/upload/store/201808/1534229468_2463.png"},{"name":"描述","img":"/upload/store/201808/1534211287_35_4902.png"}]}
     */

    private int code;
    private String msg;
    private DataBean data;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * id : 35
         * name : 山东大药房4
         * pic : /upload/store/201808/1534212151_3059.png
         * address : 山东济南
         * star : 10
         * isself : 0
         * invoice : 2
         * type : 1
         * phone : 010-12345678
         * openhours : 12:00-14:00
         * description : 商店描述
         * imgs : [{"name":"图片描述","img":"/upload/store/201808/1534229468_2463.png"},{"name":"描述","img":"/upload/store/201808/1534211287_35_4902.png"}]
         */

        private int id;
        private String name;
        private String pic;
        private String address;
        private int star;
        private int isself;
        private int invoice;
        private int type;
        private String phone;
        private String openhours;
        private String description;
        private List<ImgsBean> imgs;

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public String getPic() {
            return pic;
        }

        public void setPic(String pic) {
            this.pic = pic;
        }

        public String getAddress() {
            return address;
        }

        public void setAddress(String address) {
            this.address = address;
        }

        public int getStar() {
            return star;
        }

        public void setStar(int star) {
            this.star = star;
        }

        public int getIsself() {
            return isself;
        }

        public void setIsself(int isself) {
            this.isself = isself;
        }

        public int getInvoice() {
            return invoice;
        }

        public void setInvoice(int invoice) {
            this.invoice = invoice;
        }

        public int getType() {
            return type;
        }

        public void setType(int type) {
            this.type = type;
        }

        public String getPhone() {
            return phone;
        }

        public void setPhone(String phone) {
            this.phone = phone;
        }

        public String getOpenhours() {
            return openhours;
        }

        public void setOpenhours(String openhours) {
            this.openhours = openhours;
        }

        public String getDescription() {
            return description;
        }

        public void setDescription(String description) {
            this.description = description;
        }

        public List<ImgsBean> getImgs() {
            return imgs;
        }

        public void setImgs(List<ImgsBean> imgs) {
            this.imgs = imgs;
        }

        public static class ImgsBean {
            /**
             * name : 图片描述
             * img : /upload/store/201808/1534229468_2463.png
             */

            private String name;
            private String img;

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }

            public String getImg() {
                return img;
            }

            public void setImg(String img) {
                this.img = img;
            }
        }
    }
}
